package xyz.csmcool.imutil.dto;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonIgnore;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author 什锦
 * @Package xyz.csmcool.imutil.dto
 * @since 2022/8/9 0:14
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class UserDto implements Serializable {
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String userName;

    private String firstName;

    private String lastName;

    private String email;

    @ApiModelProperty("MALE = 1, FEMALE = 2, OTHER = 3")
    private Integer sex;

    private String avatar;

    private String about;

    @ApiModelProperty("ONLINE = 1, OFFLINE = 2, BUSY = 3")
    private Integer userStatus;

    private String country;

    private String message;
}
